<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>惠信钱包-充值结果</title>
</head>
<body>
<%@include file="/head.jsp"%>
<!--content begin-->
<div class="main_bg">        	
	<div class="regist">
	 <s:if test='#request.rechargeResult == "充值成功"'>
	 <p class="suc_p">
        <span class="f_38">${rechargeResult}</span>
        <span class="f_20"><span id="secondAfter">5</span>秒后，将为您跳转到资金记录</span>
        </p>
	 </s:if>
	 <s:else>
	    <p class="err_p">
        <span class="f_38">${rechargeResult}</span>
        <span class="f_20"><span id="secondAfter">5</span>秒后，将为您跳转到资金记录</span>
        </p>
      </s:else> 
	    
        <p class="go_other">您可以：<a href="${root}/userLoginSuccessAction_toMyPurse.action" class="blue">去首页</a>&nbsp;或&nbsp;<a class="blue" href="${root}/account/assetListAction_queryMyAccountInfo.action">随便逛逛>></a></p>
        
    </div>
    </div>
<!--footer begin-->
<%@include file="/footer.jsp"%>
<script >
	var rtimers = 4;
	var rtipId;
		rtipId = window.setInterval(rtimer, 1000);
//定时器
function rtimer() {
	if (rtimers > 0) {
		document.getElementById("secondAfter").innerHTML=rtimers;
		rtimers--;
	} else {
		window.clearInterval(rtipId);
		window.location.href = ctx_root + "/fundRecord_moneyRecordPagefist.action";
	}
}
</script>
</body>
</html>
